<?php
	$ten = $_POST["ten"];

	$sql = "INSERT INTO `loaisanpham`(`tenloaisanpham`) VALUES ('".$ten."')";
	
	include"../../../code/DataProvider.php";
	DataProvider::ExecuteQuery($sql);
	header("location:../../index.php?act=3");
?>